package com.hoas.api.manager.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhangQingmu123
 * @since 2018-01-04
 */
public class BusinessApi implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * API主键
     */
    @TableId(value = "api_id", type = IdType.AUTO)
    private Integer apiId;
    /**
     * 业务ID
     */
    private String businessId;
    /**
     * API类型 默认local bean模式
     */
    private String type;
    private String description;
    private Integer groupId;


    public Integer getApiId() {
        return apiId;
    }

    public void setApiId(Integer apiId) {
        this.apiId = apiId;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    @Override
    public String toString() {
        return "BusinessApi{" +
        "apiId=" + apiId +
        ", businessId=" + businessId +
        ", type=" + type +
        ", description=" + description +
        ", groupId=" + groupId +
        "}";
    }
}
